<template>
  <div>
    MyControl--{{ a }}--{{ b }}
    <FCButton type='primary' @click="click">测试</FCButton>
  </div>
</template>
<script>
import FCButton from '@/vendors/fc-ui/src/controls/FCButton.vue'
export default {
  components: { FCButton },
  name: 'MyControl',
  props: {
    a: String,
    b: String,
  },
  data() {
    return {}
  },
  methods: {
    click() {
      const { a, b } = this
      this.$emit('click2', { a, b })
    },
  },
}
</script>

